import React from 'react'
import { Cell, Image , Button,ProductCard} from 'react-vant'
import { useNavigate } from 'react-router-dom';
export default function Ping(props) {
  let navigate = useNavigate();
  return (
    <div  style={{marginTop:'10px'}}>
                      <Cell
                        center
                        title={`${props.item.name}赞了你的评论`}
                        label={props.item.time}
                        icon={<Image width={40} height={40} src='/1.png' round />}
                        isLink={false}
                      />
                      <ProductCard
                      price={props.item.zp.price}
                      onClick={() => { navigate('/pxg') }}
                      title={props.item.zp.title}
                      desc={props.item.zp.cont}
                      thumb="../1.png"
                    />
    </div>
  )
}
